<template>
	<view>
		<text>出错了，3秒后返回首页</text>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		onLoad() {
			let timer=setTimeout(()=>{
				console.log("开启定时器")
				clearTimeout(timer)
				uni.switchTab({
					url:'../index/index'
				})
			},3000)
		},
		methods: {
			
		}
	}
</script>

<style scoped lang="less">

</style>
